﻿@using System.Web.Mvc.Ajax
@using Microsoft.Web.Mvc.Html
@using nanoCMS.Core.WebUI.Models.ViewModels
@model UserVM

<div class="widget">
    <div class="head"><h5>Edit User</h5></div>
    @using (Ajax.BeginForm("EditUser", "UserAdmin", new{area="Core"}, new AjaxOptions{ UpdateTargetId = "form"}, new {@class="mainForm"}) )
    {
	    <fieldset id="form">
		    @{ Html.RenderPartial("UserVMPartial", Model);
		    }
		    <input class="greyishBtn submitForm" type="submit"/>
            <div class="fix"></div>
	    </fieldset>
    }
</div>


